home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Memphis Amiga Group / MAG DOS 2.0 Utilities Disk 09 (1992-05)(Memphis Amiga Group).zip / MAG DOS 2.0 Utilities Disk 09 (1992-05)(Memphis Amiga Group).adf / JM / .jmrc next >
Text File  |  1992-02-20  |  5KB  |  101 lines

  1.  
  2. #==========================================================================
  3. # JM Job Manager    - Copyright 1992, Steve Koren
  4. #
  5. # (JM is freely distributable under conditions given in the documentation.
  6. #  It is not wise to try to understand JM by browsing this file.  The
  7. #  documentation is there for a reason).
  8. #
  9. # This file is read by JM upon invocation.  It should be named ".jmrc",
  10. # and may reside in either the current directory or "S:" (preferred).
  11. # Also, make sure JM-Handler resides in "L:".
  12. #
  13. # Do not delete these comment lines - they are read fast.  Arguments
  14. # to options can be quoted to contain spaces.  Use spaces, but no tabs.
  15. # Inter-field spacing is ignored.  '#' in the first column of a line is
  16. # a comment line.  If a non-repeating option is repeated, later definitions
  17. # will override previous ones.
  18. #==========================================================================
  19.  
  20. # This option controls whether JM will keep a log of task activity.
  21. # Permitted values are "off" and "on".
  22.  
  23. LOGSWITCH       off
  24.  
  25. #--------------------------------------------------------------------------
  26. # This is the name of the log file, when used.  The log file should be on
  27. # fast device, not a floppy.  Permitted values are valid file names.
  28.  
  29. LOGFILE         "ram:JM.log"
  30.  
  31. #--------------------------------------------------------------------------
  32. # This is the time in seconds between updates of the task CPU percentage
  33. # fields.  The larger this number, the longer the CPU weighted average will
  34. # take to converge to the current value.  Permitted values are 1 to 10,
  35. # inclusive.
  36.  
  37. PS_CPU_TIME      5
  38.  
  39. #--------------------------------------------------------------------------
  40. # This switch controls whether JM will manage unequal allocation of
  41. # cycles to CPU bound tasks.  See the "MANAGE" options below.  Permitted
  42. # values are "on" or "off".
  43.  
  44. MANAGESWITCH     on
  45.  
  46. #--------------------------------------------------------------------------
  47. # This switch controls whether JM will watch new tasks and modify their
  48. # priority according to the "TASKPRI" defaults given in this file.
  49. # Permitted values are "on" or "off".
  50.  
  51. WATCHSWITCH      on
  52.  
  53. #--------------------------------------------------------------------------
  54. # This option controls the length of one quantum when JM is managing
  55. # unequal allocation of cycles to CPU bound tasks.  This number is the
  56. # number of 10ths of a second in one quantum.  Small values produce
  57. # smoother results, but have a (slightly) higher overhead.  Permitted
  58. # values are 1 (one 10th of a second) to 50 (5 seconds).  Faster machines
  59. # can use smaller values with less overhead.
  60.  
  61. QUANTUM          5
  62.  
  63. #--------------------------------------------------------------------------
  64. # These two parameters control the priority of "active" and "inactive"
  65. # managed tasks.  JM will allocate CPU resources unequally by changing
  66. # task priorities over time.  These are the two priorities it uses.
  67. # The MIN value must be less than MAX.  Permitted values are -128 to -1.
  68.  
  69. MIN_MANAGE_PRI   -26
  70. MAX_MANAGE_PRI   -25
  71.  
  72. #--------------------------------------------------------------------------
  73. # JM can watch tasks which start up, and change their priorities to a
  74. # default based on the task name.  Up to 64 watched task names may be
  75. # present.  Case is not significant, and pathnames are ignored.  The
  76. # second field is the task name, and the third is the priority to give
  77. # the task upon startup.  The minimum allowable priority is -128, and
  78. # the maximum is 127.  Values greater than 5 should be used with caution.
  79.  
  80. TASKPRI          "mg"              2
  81. TASKPRI          "MEmacs"          2
  82. TASKPRI          "calendar"        5
  83. TASKPRI          "calculator"      1
  84.  
  85. #--------------------------------------------------------------------------
  86. # JM can manage unequal allocation of CPU resources to CPU bound tasks,
  87. # something not before possible on the Amiga.  These lines control this
  88. # behavior.  The second field is the task name.  The third is the number
  89. # of quantum (see QUANTUM above) which will go to this task before control
  90. # is given to another task.  For example, if "task_1" is set to 3, and
  91. # "task_2" is set to "11", there will be 14 total quantum, "task_1" will
  92. # get 3/14 of this time, and "task_2" will get 11/14 of this time.
  93. # These tasks should be CPU bound tasks only.  An editor or IFF viewer
  94. # would not be a good candidate, nor would a task which needs continous
  95. # un-interrupted use of the CPU, such as a terminal program.  The minimum
  96. # permitted quantum count is 1, and the maximum is 100.
  97.  
  98. MANAGE           "SceneryAnimator"     12
  99. MANAGE           "MandelPAUG"          8
  100. MANAGE           "longpi"              1
  101.